package com.android.huimeiqupin.model.detail;

import java.util.List;

/**
 * Created by Administrator on 2016/11/11.
 */

public class StoreMessage {

    /**
     * data : {"goods_total":"1","is_fav":true,"business":{"id":"8","name":"养生美食馆","logo":"http://www.pinleyoupin.com//upload/13/images/logo/201704141516093178.jpg","banner":"http://www.pinleyoupin.com//upload/13/images/other/201704081108179285.jpg","fav_num":"2","ad":["http://www.pinleyoupin.com//upload/13/images/gallery/8/z/324_src.jpg","http://www.pinleyoupin.com//upload/13/images/gallery/9/0/325_src.jpg","http://www.pinleyoupin.com//upload/13/images/gallery/9/1/326_src.jpg"],"sell_total":"60"},"coupon":[{"id":"1","amount":"5","need_amount":"100","end_time":"0","is_has":"1"}]}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1492666143
     */

    private DataBean data;
    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        /**
         * goods_total : 1
         * is_fav : true
         * business : {"id":"8","name":"养生美食馆","logo":"http://www.pinleyoupin.com//upload/13/images/logo/201704141516093178.jpg","banner":"http://www.pinleyoupin.com//upload/13/images/other/201704081108179285.jpg","fav_num":"2","ad":["http://www.pinleyoupin.com//upload/13/images/gallery/8/z/324_src.jpg","http://www.pinleyoupin.com//upload/13/images/gallery/9/0/325_src.jpg","http://www.pinleyoupin.com//upload/13/images/gallery/9/1/326_src.jpg"],"sell_total":"60"}
         * coupon : [{"id":"1","amount":"5","need_amount":"100","end_time":"0","is_has":"1"}]
         */

        private String goods_total;
        private boolean is_fav;
        private BusinessBean business;
        private List<CouponBean> coupon;
        private String kf_online;

        public boolean is_fav() {
            return is_fav;
        }

        public String getKf_online() {
            return kf_online;
        }

        public void setKf_online(String kf_online) {
            this.kf_online = kf_online;
        }

        public String getGoods_total() {
            return goods_total;
        }

        public void setGoods_total(String goods_total) {
            this.goods_total = goods_total;
        }

        public boolean isIs_fav() {
            return is_fav;
        }

        public void setIs_fav(boolean is_fav) {
            this.is_fav = is_fav;
        }

        public BusinessBean getBusiness() {
            return business;
        }

        public void setBusiness(BusinessBean business) {
            this.business = business;
        }

        public List<CouponBean> getCoupon() {
            return coupon;
        }

        public void setCoupon(List<CouponBean> coupon) {
            this.coupon = coupon;
        }

        public static class BusinessBean {
            /**
             * id : 8
             * name : 养生美食馆
             * logo : http://www.pinleyoupin.com//upload/13/images/logo/201704141516093178.jpg
             * banner : http://www.pinleyoupin.com//upload/13/images/other/201704081108179285.jpg
             * fav_num : 2
             * ad : ["http://www.pinleyoupin.com//upload/13/images/gallery/8/z/324_src.jpg","http://www.pinleyoupin.com//upload/13/images/gallery/9/0/325_src.jpg","http://www.pinleyoupin.com//upload/13/images/gallery/9/1/326_src.jpg"]
             * sell_total : 60
             */

            private String id;
            private String name;
            private String logo;
            private String banner;
            private String fav_num;
            private String sell_total;
            private List<String> ad;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public String getBanner() {
                return banner;
            }

            public void setBanner(String banner) {
                this.banner = banner;
            }

            public String getFav_num() {
                return fav_num;
            }

            public void setFav_num(String fav_num) {
                this.fav_num = fav_num;
            }

            public String getSell_total() {
                return sell_total;
            }

            public void setSell_total(String sell_total) {
                this.sell_total = sell_total;
            }

            public List<String> getAd() {
                return ad;
            }

            public void setAd(List<String> ad) {
                this.ad = ad;
            }
        }

        public static class CouponBean {
            /**
             * id : 1
             * amount : 5
             * need_amount : 100
             * end_time : 0
             * is_has : 1
             */

            private String id;
            private String amount;
            private String need_amount;
            private String end_time;
            private String is_has;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getNeed_amount() {
                return need_amount;
            }

            public void setNeed_amount(String need_amount) {
                this.need_amount = need_amount;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public String getIs_has() {
                return is_has;
            }

            public void setIs_has(String is_has) {
                this.is_has = is_has;
            }
        }
    }
}
